using System.Security.Principal;
using System.Web;
using System.Web.Security;
using System.Web.UI;

namespace MapTeams.Umbraco.Polls.UI
{
    public class WebUtils
    {
        /// <summary>
        /// detect if current page is deployed in an umbraco or inside visual studio solution
        /// </summary>
        private static readonly string LoginPage =
            Membership.Provider.Name == "UmbracoMembershipProvider"
                ? PollsConfig.UmbracoLoginBaseUrl
                : PollsConfig.TestLoginBaseUrl;

        
    }
}